﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using V = Science.Mathematics.VectorCalculus;

namespace VectorCalculus5Ed.Chapter1.Section2
{
    public class Example04
    {
        public Example04()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
            V.Vector a = V.UnitVector.i + V.UnitVector.j + V.UnitVector.k;

            V.Vector b = V.UnitVector.i + V.UnitVector.j - V.UnitVector.k;

            V.Angle theta = new V.Angle();
            double ans = theta.BetweenTwoVectors(a, b);
            result += ans.ToString() + "\r\n";   
        }
    }
}

// 1.23095941734077
